<template>
    <div class="app-container h-auto min-h-full">
        <y-form :options="formOptions">
        </y-form>
    </div>
</template>

<script>
export default {
    data() {
        return {
            formOptions: {
                data: {},
                items: [
                    { field: 'flag1', title: '文本域', span: 24, itemRender: { name: 'VxeTextarea' } },
                    {
                        align: 'center', span: 24, itemRender: {
                            name: 'VxeButtonGroup',
                            options: [
                                { content: '重置', type: 'reset' },
                                { content: '提交', type: 'submit', status: 'primary' }
                            ]
                        }
                    }
                ]
            }
        }
    }
}
</script>